<%--
  Created by IntelliJ IDEA.
  User: skyADMIN
  Date: 15/9/1
  Time: 下午7:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  request.setCharacterEncoding("utf-8");
%>
<jsp:useBean id="anpictrue" class="com.lihuanyu.upcOA.model.anpictrueTable"></jsp:useBean>
<jsp:useBean id="upictrue" class="com.lihuanyu.upcOA.service.anpictrue"></jsp:useBean>
<jsp:setProperty name="anpictrue" property="*"></jsp:setProperty>

<html>
<head>
  <title></title>
</head>
<%
  //out.print(request.getParameter("path"));

  if(upictrue.dbanpictrue(anpictrue)==0) {%>
<script>
  alert("发送失败，请检查网络！！");
  window.history.back();
</script>
<%}
else{
%>
<script>
  alert("发送成功！！");
  window.history.back();
</script>
<%
  }%>

<body>

</body>
</html>
